package io.terminus.spzx.product.mapper;

import io.terminus.spzx.model.entity.product.ProductDetails;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 【移动端】商品详情Mybatis Mapper
 * @Date 2024-10-31
 */
@Mapper
public interface ProductDetailsMapper {

    /**
     * 根据商品id查询商品详情
     *
     * @param productId 商品id
     * @return 商品详情
     */
    ProductDetails getByProductId(Long productId);
}
